<?php
class LiladsAppController extends AppController {
	var $helpers = array('Html', 'Form', 'Javascript');
	function beforeFilter() {
		parent::beforeFilter();
		if ($layout=Configure::read('Lilads.layout')) $this->layout = $layout;
		if (isset($this->Auth)) {
			if (@CAKE_UNIT_TEST || !@$this->params['admin']) {
				$this->Auth->allow();
			} else {
				$this->Auth->allow('');
			}
		}
	}
}
?>
